.distributionCenter {
  height: 100vh;
  margin-bottom: 20rpx;

  .header {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 380rpx;
    padding: 0 24rpx 66rpx;
    background-image: url('https://talentsupload.oss-cn-beijing.aliyuncs.com/miniprogram/distribution/mine_head_bg.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;

    .user {
      display: flex;
      align-items: center;

      .avatar {
        width: 134rpx;
        height: 134rpx;
        border-radius: 50%;
        margin-right: 24rpx;
        border: 6rpx solid #fff;
      }

      .nickname {
        font-size: 32rpx;
        font-weight: 500;
      }

      .level {
        min-width: 64rpx;
        height: 36rpx;
        font-size: 24rpx;
        border-radius: 8rpx;
        color: #E35A31;
        margin-left: 24rpx;
        text-align: center;
        background-color: #fff;
      }

      .to-user-info {
        min-width: 144rpx;
        height: 36rpx;
        line-height: 36rpx;
        font-size: 24rpx;

        .qr-code-img {
          width: 32rpx;
          height: 32rpx;
          margin-left: 8rpx;
        }

        .arrow-white-right {
          width: 18rpx;
          height: 24rpx;
          margin-left: 14rpx;
          transform: rotate(180deg);
        }

      }
    }
  }

  .card {
    height: 268rpx;
    position: relative;
    top: -44rpx;
    display: grid;
    padding-top: 10rpx;
    grid-template-columns: repeat(auto-fill, 33%);

    .card-item {
      &-title {
        color: #999;
        font-size: 24rpx;
      }

      &-num {
        font-size: 36rpx;
        font-weight: 500;
        margin-top: 14rpx;
      }

      .suffix {
        font-size: 32rpx;
        font-weight: 500;
      }
    }

    .divider {
      width: 2rpx;
      height: 28rpx;
      background: #F1F1F1;
    }
  }

  .tabs {
    display: grid;
    text-align: center;
    top: -20rpx;
    position: relative;
    grid-template-columns: repeat(auto-fill, 33%);

    &-item {
      .tab-title {
        color: #666;
        font-weight: 500;
      }

      .tab-title-active {
        color: #333;
        font-weight: 500;
      }

      .tab-indicator {
        width: 38rpx;
        height: 6rpx;
        position: relative;
        border-radius: 16rpx;
        left: 50%;
        margin-top: 6rpx;
        transform: translateX(-50%);
        background-color: $primary-color;
      }
    }
  }

  .swiper {
    height: 100vh;
    // margin-top: 30rpx;
  }

  .swiper-item {
    height: 100%;
  }

  .bg-white {
    margin-left: 24rpx;
    margin-right: 24rpx;
    width: calc(100% - 48rpx);
    background-color: #fff;
    border-radius: 24rpx;
  }
}